package com.bysj.yqsht.service;

import com.bysj.yqsht.bean.Classes;
import com.bysj.yqsht.bean.extend.ClassesExtend;
import com.bysj.yqsht.utils.CustomerException;

import java.util.List;

public interface IClassesService {
    List<Classes> findAll();

    void saveOrUpdate (Classes clas);
    void deleteById(long id) throws CustomerException;

    List<ClassesExtend> findAllWithTeacher(int pageNum, int limit);
    List<ClassesExtend> findAllWithSubject();
    List<ClassesExtend> findWithAllByTeacher(String teacher, Long teacherId, Long subjectId);
}
